/*
 * Copyright (c) 2022.  Asiacom Technology Inc. All rights reserved
 */

package com.swanclouds.redfish.systems.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.swanclouds.model.Device;

import java.util.Map;

/**
 * @author 张立强
 * @version jdk1.8.0
 */
public class FutureBIOSSettings extends Device {

	@JsonProperty("Description")
	private String Description;

	@JsonProperty("Attributes")
	private Map<String,Object> attributes;

	@JsonProperty("AttributeRegistry")
	private String attributeRegistry;

	@JsonProperty("SettingTime")
	private String settingTime;

	public String getDescription() {
		return Description;
	}

	public Map<String, Object> getAttributes() {
		return attributes;
	}

	public String getAttributeRegistry() {
		return attributeRegistry;
	}

	public String getSettingTime() {
		return settingTime;
	}

	@Override
	public String toString() {
		ObjectMapper objectMapper = new ObjectMapper();
		try {
			return objectMapper.writeValueAsString(this);
		} catch (JsonProcessingException e) {
		}
		return "FutureBIOSSettings {" +
				"Description='" + Description + '\'' +
				", attributes=" + attributes +
				", attributeRegistry='" + attributeRegistry + '\'' +
				", settingTime='" + settingTime + '\'' +
				'}';
	}
}
